package org.jash.sportnews2109.dao

import androidx.room.Database
import androidx.room.RoomDatabase
import org.jash.sportnews2109.entity.News
import org.jash.sportnews2109.entity.User
import org.jash.sportnews2109.entity.Video

@Database(entities = [News::class, User::class, Video::class], version = 4)
abstract class NewsDatabase:RoomDatabase() {
    abstract fun getNewsDao():NewsDao
    abstract fun getUserDao():UserDao
    abstract fun getVideoDao():VideoDao
}